package entity.cpe;

import entity.nvdcve.BaseProduct;

/**
 * 参考cpe 2.3对platform的描述方式，详见 http://cpe.mitre.org/
 *
 * @author xym
 * @since 2020/7/15
 */
public class Cpe extends BaseProduct {
    private String cpeVersion;
    private String part;
    private String vendor;
    private String product;
    private String version;
    private String update;
    private String edition;

    public String getCpeVersion() {
        return cpeVersion;
    }

    public void setCpeVersion(String cpeVersion) {
        this.cpeVersion = cpeVersion;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUpdate() {
        return update;
    }

    public void setUpdate(String update) {
        this.update = update;
    }

    public String getEdition() {
        return edition;
    }

    public void setEdition(String edition) {
        this.edition = edition;
    }

    @Override
    public String toString() {
        return "Cpe{" +
                "cpeVersion='" + cpeVersion + '\'' +
                ", part='" + part + '\'' +
                ", vendor='" + vendor + '\'' +
                ", product='" + product + '\'' +
                ", version='" + version + '\'' +
                ", update='" + update + '\'' +
                ", edition='" + edition + '\'' +
                '}';
    }
}

